/*
 * Copyright (c) 2010 CCX(China) Co.,Ltd. All Rights Reserved.
 *
 * This software is the confidential and proprietary information of
 * CCX(China) Co.,Ltd. ("Confidential Information").
 * It may not be copied or reproduced in any manner without the express 
 * written permission of CCX(China) Co.,Ltd.
 *
 * @author wangyaoxi
 * Date: 2010-7-9 上午09:20:38
 */
package com.ccxe.manage.service.impl;

import java.util.List;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.ccxe.manage.model.MenuBean;


/**
 * @author Administrator
 * 
 */
public class SystemMenuService extends BaseRequestService {

	public SystemMenuService(HttpServletRequest req, HttpServletResponse resp) {
		this.request = req;
		this.response = resp;
	}

	@Override
	protected String buildJspUrl() {
		return "/jsp/frame/header.jsp";
	}

	@Override
	public void buildParameters() {
		List<MenuBean> rootMenuList = new MenuProcess().getRootMenu();
	
		request.setAttribute("rootMenu",rootMenuList);
	}

}
